/**
 * Copyright © 2016-2025 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import 'constants';

:host::ng-deep {
  .tb-card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 23px;

    tb-card-title-button + div {
      padding-right: 8px;
    }
  }

  .tb-home-charts {
    .carousel {
      .aniT {
        transition: all 1s linear;
      }

      .transition {
        transition: all 0.3s ease-in-out !important;
      }
      .content {
        display: flex;
        height: 100%;

        .item {
          height: 100%;
          width: fit-content;
          padding-right: 12px;

          .chart-container {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding-top: 4px;

            span {
              font-size: 0.9em;
              font-weight: 500;
              color: rgba(0,0,0,0.54);
              padding-left: 6px;
            }

            mat-icon {
              font-size: 1em;
              height: 1em;
              width: 1em;
              line-height: 1em;
              padding-left: 0.25em;
              color: rgba(0,0,0,0.12);
              cursor: default;
            }

            mat-icon:hover {
              color: rgba(0,0,0,0.38);
            }

            @media screen and (min-width: 1280px) and (max-width: 1500px) {
              span {
                font-size: 0.7em;
              }
            }
          }
        }
      }
    }
  }
}
